import random

import numpy as np
import torch
from einops import repeat

# a = [0.3007, 0.3071, 0.3007, 0.3885, 0.2820, 0.3972, 0.3488, 0.3423, 0.3720, 0.3007]

a = [0.436, 0.436, 0.461, 0.430, 0.465, 0.444, 0.449, 0.415, 0.421, 0.451]

a_mean = np.mean(a)  # 求均值
a_std = np.std(a)  # 求标准差

print("平均值为：%f" % a_mean)
print("标准差为:%f" % a_std)

alpha = 0.2
list = []
for i in range(10):
    list.append(np.random.randn())
print(list)

a = torch.rand(32, 32)
lam = torch.rand(32)
lam = repeat(lam, "i -> i j", j=32)

pass
